package com.hksj.Intelligentmanagement.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("call_task_order")
public class CallTaskOrderVo implements Serializable {

    @ApiModelProperty(value = "主键",position = 1)
    private Integer id;

    @ApiModelProperty(value = "任务单号",position = 2)
    private String orderNo;

    @ApiModelProperty(value = "任务单来源设备号",position = 3)
    private String sourceDeviceCode;

    @ApiModelProperty(value = "手术室编号",position = 4)
    private String operatingRoomNo;

    @ApiModelProperty(value = "来源设备的位置/科室位置",position = 5)
    private String address;

    @ApiModelProperty(value = "任务单生成时间",position = 6)
    private Date createAt;

    @ApiModelProperty(value = "更新时间",position = 7)
    private Date updateAt;

    @ApiModelProperty(value = "任务单接单时间",position = 8)
    private Date obtainAt;

    @ApiModelProperty(value = "任务单完成时间",position = 9)
    private Date completeAt;

    @ApiModelProperty(value = "接单的设备号",position = 10)
    private String obtainDeviceCode;

    @ApiModelProperty(value = "设备登录码",position = 11)
    private String obtainUserDevicePassword;

    @ApiModelProperty(value = "接单人id",position = 12)
    private String obtainUserId;

    @ApiModelProperty(value = "接单人",position = 13)
    private String obtainUsername;

    @ApiModelProperty(value = "任务单状态  1=待接单 2=进行中 3=已完成",position = 14)
    private Integer state;

    @ApiModelProperty(value = "接单用时/秒",position = 15)
    private Long obtainDuration;

    @ApiModelProperty(value = "完单用时/分",position = 16)
    private Long completeDuration;
}
